import React, { PureComponent } from "react";
import { Form, Input, Select } from "antd";
import style from "./style.less";
const Option = Select.Option;

class Mobile extends PureComponent {
  render() {
    console.log(this.props);
    // const { getFieldDecorator } = this.props;
    // const prefixSelector = getFieldDecorator("prefix", {
    //   initialValue: "86"
    // })(
    //   <Select style={{ width: 70 }}>
    //     <Option value="86">+86</Option>
    //     <Option value="87">+87</Option>
    //     <Option value="6">+6</Option>
    //   </Select>
    // );
    return (
      <div className={style.formItem}>
        <Input
          // addonBefore={prefixSelector}
          style={{ width: "100%" }}
          placeholder="请输入常用手机号"
        />
      </div>
    );
  }
}
export default Mobile;
